projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee8028b
)
ppc4xx/NAND: Reduce size of NAND SPL image
author
Stefan Roese
<
[email protected]
>
Tue, 23 Nov 2010 13:32:48 +0000
(14:32 +0100)
committer
Wolfgang Denk
<
[email protected]
>
Sat, 27 Nov 2010 22:35:09 +0000
(23:35 +0100)
This is needed for the canyonlands_nand build target. Without it
the resulting image won't fit into 4k.
Signed-off-by: Stefan Roese <
[email protected]
>
Cc: Scott Wood <
[email protected]
>
Acked-by: Scott Wood <
[email protected]
>
Acked-by: Stefan Roese <
[email protected]
>
drivers/mtd/nand/ndfc.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/ndfc.c
b/drivers/mtd/nand/ndfc.c
index 3ca13a979c7e6d7aaa0b80ac12a9a464475b5d25..0729e0c9c02a5d00c250f4fa92f6b1eb8a49a5c4 100644
(file)
--- a/
drivers/mtd/nand/ndfc.c
+++ b/
drivers/mtd/nand/ndfc.c
@@
-201,6
+201,8
@@
int board_nand_init(struct nand_chip *nand)
#ifndef CONFIG_NAND_SPL
nand->write_buf = ndfc_write_buf;
nand->verify_buf = ndfc_verify_buf;
+
+ chip++;
#else
/*
* Setup EBC (CS0 only right now)
@@
-211,7
+213,5
@@
int board_nand_init(struct nand_chip *nand)
mtebc(PB0AP, CONFIG_SYS_EBC_PB0AP);
#endif
- chip++;
-
return 0;
}